const Layout = () => import('@/layout/index.vue')

export default {
  name: 'Log',
  path: '/log',
  component: Layout,
  meta: {
    title: '日志管理',
    icon: 'mdi:math-log',
    order: 5,
  },
  children: [
    {
      name: 'JobLog',
      path: 'jobLog',
      component: () => import('@/views/log/joblog/index.vue'),
      meta: {
        title: '任务日志',
        icon: 'mdi:timer-check',
        order: 1,
      },
    },
    {
      name: 'LoginLog',
      path: 'loginLog',
      component: () => import('@/views/log/loginlog/index.vue'),
      meta: {
        title: '登陆日志',
        icon: 'mdi:login-variant',
        order: 2,
        keepAlive: true,
      },
    },
    {
      name: 'OperationLog',
      path: 'operationLog',
      component: () => import('@/views/log/operationlog/index.vue'),
      meta: {
        title: '操作日志',
        icon: 'mdi:file-document-edit',
        order: 3,
        keepAlive: true,
      },
    },
    {
      name: 'ErrorLog',
      path: 'errorLog',
      component: () => import('@/views/log/errorLog/index.vue'),
      meta: {
        title: '异常日志',
        icon: 'mdi:alert-circle',
        order: 4,
      },
    },
  ],
}
